package com.tql.mall.boss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tql.mall.model.product.BaseCategory3;
import com.tql.mall.model.product.level.BaseLevel;

import java.util.List;

public interface CategoryThreeService extends IService<BaseCategory3> {


    String saveLevelThree(BaseCategory3 baseCategory3);

    String deleteById(Long id);

    boolean isExistRely(Long id);

    List<BaseLevel> getBaseLevelList(Long id);


    String updateCategory(Long id, String newName, Long selectedCategory2Id);

    List<BaseCategory3> getCategoryListWithSameParent(Long id);
}
